package com.inno.subject.domain.convert;

import com.inno.subject.domain.entity.SubjectRecordsBO;
import com.inno.subject.infra.basic.entity.PlannerSubjectRecords;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectRecordsConverter {
    SubjectRecordsConverter INSTANCE = Mappers.getMapper(SubjectRecordsConverter.class);

    PlannerSubjectRecords convertBOToEntity(SubjectRecordsBO subjectRecordsBO);

    List<SubjectRecordsBO> convertEntityListToBOList(List<PlannerSubjectRecords> entityResult);
}
